import Vue from 'vue'
import App from './App.vue'

import Axios from 'axios'
Axios.defaults.withCredentials=true;
Axios.defaults.baseURL='http://49.234.67.250:1001'
Vue.prototype.$http = Axios

Vue.prototype.$bus = new Vue()

import VueRouter from 'vue-router'
Vue.use(VueRouter)

import VueAwesomeSwiper from 'vue-awesome-swiper'
Vue.use(VueAwesomeSwiper, /* { default global options } */)
import 'swiper/dist/css/swiper.css'


import Vant from 'vant';
import 'vant/lib/index.css';
import { Toast ,Dialog} from 'vant';
Vue.use(Toast);
Vue.use(Dialog);
Vue.use(Vant);

Vue.config.productionTip = false

import router from '@/routes'

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
